package com.zhentao;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("zhentao-cart")
public interface Cart {
    @RequestMapping("/cart/add")
    public String add(@RequestBody Cart cart);
}
